package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Accident;
import cn.wolfcode.crm.domain.Loss;
import cn.wolfcode.crm.page.PageResult;
import cn.wolfcode.crm.query.AccidentQueryObject;

public interface IAccidentService {

    PageResult query(AccidentQueryObject qo);

    void save(Accident accident);

    void update(Accident accident);

    void handlerAccident(Long id, Long stateId);

    Loss getLossInfo(Long accidentId);

    void saveAccidentLoss(Loss loss,Long accidentId);

    PageResult queryForAudit(AccidentQueryObject qo);
}
